/**
 * @file /include/rhzd_assist/add_cmd_dialog.hpp
 *
 * @brief Qt based gui for rhzd_assist.
 *
 * @date October 2025
 **/
#ifndef _QT_ADD_CMD_DIALOG_HPP_
#define _QT_ADD_CMD_DIALOG_HPP_

#include <QDialog>
#include <QMessageBox>
#include <QLineEdit>

class AddCmdDiaglog : public QDialog
{
    Q_OBJECT

public:
    explicit AddCmdDiaglog(QWidget *parent = nullptr);
    QString getButtonName() const { return buttonName; }
    QString getCommand() const { return command; }

private slots:
    void onConfirmClicked();

private:
    QLineEdit *buttonNameEdit;
    QLineEdit *commandEdit;
    QString buttonName;
    QString command;
};

#endif // _QT_ADD_CMD_DIALOG_HPP_
